// HtmlPanel.cpp : implementation file
//

#include "stdafx.h"
#include "Common.h"
#include "HtmlPanel.h"


// CHtmlPanel dialog

IMPLEMENT_DYNCREATE(CHtmlPanel, CDHtmlDialog)

CHtmlPanel::CHtmlPanel()
	: CDHtmlDialog()
{

}

CHtmlPanel::~CHtmlPanel()
{
}

void CHtmlPanel::DoDataExchange(CDataExchange* pDX)
{
	CDHtmlDialog::DoDataExchange(pDX);
}

BOOL CHtmlPanel::OnInitDialog()
{
	CDHtmlDialog::OnInitDialog();	
	
	RECT rParent;
	GetParent()->GetWindowRect(&rParent);
	SetWindowPos(&wndTop, 0, 0, rParent.right - rParent.left, rParent.bottom - rParent.top, SWP_SHOWWINDOW);	
	return TRUE;  // return TRUE  unless you set the focus to a control
}

BEGIN_MESSAGE_MAP(CHtmlPanel, CDHtmlDialog)
END_MESSAGE_MAP()

BEGIN_DHTML_EVENT_MAP(CHtmlPanel)
END_DHTML_EVENT_MAP()



// CHtmlPanel message handlers